package com.itSiri.mapper;

import com.itSiri.pojo.Dept;
import com.itSiri.pojo.Emp;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.springframework.web.bind.annotation.DeleteMapping;

import java.time.LocalDate;
import java.util.List;

@Mapper
public interface EmpMapper {
    //查询
    List<Emp> list(String name,Short gender,LocalDate begin,LocalDate end);

    //批量删除
    void delete(List<Integer> ids);

}
